import request from '@/utils/request.js'
import { useTokenStore } from '@/stores/token.js';
//学生课堂列表查询
export const addAssistService = (classID,teacherID,teacherName) => {
    let tokenStore = useTokenStore()
    const headers = {
        token: tokenStore.token.token
    }
    //console.log(tokenStore.token.token)
    const data = {
        "classID": classID,
        "teacherID": teacherID,
        "teacherName": teacherName
    }
    return request.post('/teacher/saveTAforteacher', data, { headers });
}

